﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TimeTracker.Provider
{
    public static class IProviderExtensions
    {
        public static void RemoveAllProjects(this IProvider provider)
        {
            foreach (IProject project in provider.GetProjects().ToArray())
            {
                provider.RemoveProject(project);
            }
        }
    }
}
